package com.ruoyi.chiwen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 还款记录对象 tb_alsomoney
 * 
 * @author chiwen
 * @date 2021-06-14
 */
public class TbAlsomoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String phoneNumber;

    private String bankCardNumber;

    /** $column.columnComment */
    private Long sId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 银行卡表id */
    @Excel(name = "银行卡表id")
    private Long bankId;

    /** 还款金额 */
    @Excel(name = "还款金额")
    private Long alsoMoney;

    /** 是否还款成功,0没有1有 */
    @Excel(name = "是否还款成功,0没有1有")
    private Integer isSuccess;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatePerson;

    /** 逻辑删除,0没有1有 */
    @Excel(name = "逻辑删除,0没有1有")
    private Integer isDeleted;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }
    public void setAlsoMoney(Long alsoMoney) 
    {
        this.alsoMoney = alsoMoney;
    }

    public Long getAlsoMoney() 
    {
        return alsoMoney;
    }
    public void setIsSuccess(Integer isSuccess) 
    {
        this.isSuccess = isSuccess;
    }

    public Integer getIsSuccess() 
    {
        return isSuccess;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getBankCardNumber() {
        return bankCardNumber;
    }

    public void setBankCardNumber(String bankCardNumber) {
        this.bankCardNumber = bankCardNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("phoneNumber", getPhoneNumber())
            .append("bankCardNumber", getBankCardNumber())
            .append("userId", getUserId())
            .append("bankId", getBankId())
            .append("alsoMoney", getAlsoMoney())
            .append("isSuccess", getIsSuccess())
            .append("createTime", getCreateTime())
            .append("createPerson", getCreatePerson())
            .append("updateTime", getUpdateTime())
            .append("updatePerson", getUpdatePerson())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
